package com.ycMc.mapper;

import com.ycMc.domain.Order;
import com.ycMc.domain.ProductBrand;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by libo2 on 2017/8/15.
 */
@Repository
public interface ProductBrandMapper {

    public void insert(ProductBrand productBrand);

    public void delete(@Param("id")int id);

    public void update(ProductBrand productBrand);

    public List<ProductBrand> select(@Param("brandName")String brandName,@Param("createTime")long createTime,@Param("offset")int offset,@Param("pageSize")int pageSize);

    public ProductBrand selectOne(@Param("id")int id);
}
